public abstract class BOAagent extends Agent
| Modifier and Type | Field and Description |
|---|---|
protected AcceptanceStrategy |
acceptConditions
when to accept
|
protected NegotiationSession |
negotiationSession
link to domain
|
protected OfferingStrategy |
offeringStrategy
what to offer
|
protected OMStrategy |
omStrategy
which bid to select using an opponent model
|
protected OpponentModel |
opponentModel
used to determine the utility of a bid for the opponent
|
protected OutcomeSpace |
outcomeSpace
space of possible bids
|
java.util.ArrayList<Pair<Bid,java.lang.String>> |
savedOutcomes
used to store MAC outcomes
|
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
BOAagent() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
agentSetup()
Method used to setup the agent.
|
Action |
chooseAction()
Choose an action to perform.
|
void |
cleanUp()
Clear the agent's variables.
|
AcceptanceStrategy |
getAcceptanceStrategy()
Returns the acceptance strategy of the agent.
|
abstract java.lang.String |
getName() |
OfferingStrategy |
getOfferingStrategy()
Returns the offering strategy of the agent.
|
OpponentModel |
getOpponentModel()
Returns the opponent model of the agent.
|
static java.lang.String |
getVersion() |
void |
init()
Initializes the agent and creates a new negotiation session object.
|
void |
ReceiveMessage(Action opponentAction)
Store the actions made by a partner.
|
void |
setDecoupledComponents(AcceptanceStrategy ac,
OfferingStrategy os,
OpponentModel om,
OMStrategy oms)
Set the components of the decoupled agent.
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleepprotected AcceptanceStrategy acceptConditions
protected OfferingStrategy offeringStrategy
protected OpponentModel opponentModel
protected NegotiationSession negotiationSession
protected OMStrategy omStrategy
public java.util.ArrayList<Pair<Bid,java.lang.String>> savedOutcomes
protected OutcomeSpace outcomeSpace
public void init()
public abstract void agentSetup()
public void setDecoupledComponents(AcceptanceStrategy ac, OfferingStrategy os, OpponentModel om, OMStrategy oms)
ac - the acceptance strategyos - the offering strategyom - the opponent modeloms - the opponent model strategypublic static java.lang.String getVersion()
public abstract java.lang.String getName()
public void ReceiveMessage(Action opponentAction)
ReceiveMessage in class AgentopponentAction - by opponent in current turnpublic Action chooseAction()
chooseAction in class Agentpublic OfferingStrategy getOfferingStrategy()
public OpponentModel getOpponentModel()
public AcceptanceStrategy getAcceptanceStrategy()
public void cleanUp()